package router

import (
	"github.com/gin-gonic/gin"
	"zg4day5_zy/api"
)

func Router(r *gin.Engine) {
	// 简单的路由组: v1
	v1 := r.Group("/v1")
	{
		v1.POST("/filename", api.FileName)
		v1.POST("/video", api.Video)
		v1.GET("/VideoList", api.VideoList)
		v1.POST("/FileVideo", api.FileVideo)
	}
}
